Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.preview.restAPI.contrib--restlets

This contribution is part of XML component org.nuxeo.ecm.platform.preview.restAPI.contrib inside nuxeo-platform-preview-6.0.jar

Documentation

GET /nuxeo/restAPI/preview/{repoId}/{docId}/{fieldPath}?subPath=(subPath)

Extension Point

Extension point restlets of component PluggableRestletService.

Contributed Items

  • <restletPlugin class="org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet" enabled="true" name="preview" useSeam="true">
          <urlPatterns>
            <urlPattern>/preview/{repo}/{docid}/{fieldPath}/{subPath}</urlPattern>
            <urlPattern>/preview/{repo}/{docid}/{fieldPath}/</urlPattern>
          </urlPatterns>
        </restletPlugin>

XML Source

<extension point="restlets" target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService">

    <documentation>
     GET /nuxeo/restAPI/preview/{repoId}/{docId}/{fieldPath}?subPath=(subPath)
    </documentation>

    <restletPlugin class="org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet" enabled="true" name="preview" useSeam="true">
      <urlPatterns>
        <urlPattern>/preview/{repo}/{docid}/{fieldPath}/{subPath}</urlPattern>
        <urlPattern>/preview/{repo}/{docid}/{fieldPath}/</urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>